home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
util
/
time
/
backclock.lha
/
BackClock
/
sources
/
conf.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-12
|
592b
|
24 lines
/* entete: conf.h version 1.0 12-03-98
*/
#define CF_NAMEENV "env:backclock.prefs"
#define CF_NAMEENVARC "envarc:backclock.prefs"
#define ERR_ENV "File error %ld on ENV:backclock.prefs"
#define ERR_ENVARC "File error %ld on ENVARC:backclock.prefs"
struct ConfFile {
UBYTE id[4] ; // BACK
UWORD posX,
posY,
lenX,
lenY ;
struct RGB cmap[NUM_COLORS] ;
} ;
// prepare the file to be saved
BOOL SaveConf(idWin * prj, UBYTE *) ;
BOOL LoadConf(idWin * prj) ;
// save prefs file to env (and to envarc)
void SaveEnv(idWin * prj, BOOL envarc) ;